package com.ui.zhixiao.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 学习教程与学科关系
 * (感觉没什么用)
 */
@Data
public class SetmealDish implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;


    //学科(语,数,英,体...)id
    private Long setmealId;


    //学习教程id
    private Long dishId;


    //学习教程名称(XXX拼音教学...类似) （冗余字段）
    private String name;


    //排序
    private Integer sort;


    //菜品原价
//    private BigDecimal price;
    //份数
//    private Integer copies;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;


    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


    @TableField(fill = FieldFill.INSERT)
    private Long createUser;


    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;


    //是否删除
    private Integer isDeleted;
}
